package test
{
	import flash.display.Sprite;
	
	import ui.UIRadioTab;
	import ui.UIRadioTabGroup;
	
	public class UIRadioTest extends Sprite
	{
		public function UIRadioTest()
		{
			super();
			var tabs:Vector.<UIRadioTab> = new Vector.<UIRadioTab>(4);
			var w:int = 100;
			var h:int = 40;
			for (var i:int = 0; i < tabs.length; i++) {
				tabs[i] = new UIRadioTab(w, h);
				tabs[i].x = i * (w-16);
				tabs[i].y = 200;
			}
			var group:UIRadioTabGroup = new UIRadioTabGroup(6, w, h);
			addChild(group);
			group.onActive();
		}
	}
}